// 配送站信息
export const getDeliveryInfo = `
query($delivery_id:Int,$driver_id:Int){
  getDeliveryInfo(delivery_id:$delivery_id,driver_id:$driver_id){
    id
    name
    price
    address
    money
  }
}
`;
// 受液机列表
export const getFillList = `
query($delivery_id:Int){
  getFillList(delivery_id:$delivery_id){
    id
    name
    count
  }
}
`;
// 出液机信息
export const getFillInfo = `
query($fill_id:String){
  getFillInfo(fill_id:$fill_id){
    id
    name
    count
    max
  }
}
`;
// 补液记录
export const getUreaLog = `
query($page:Int,$to_fill_id:Int,$start:String,$end:String,$delivery_id:Int,$driver_id:Int,$from_fill_id:Int){
  getUreaLog(page:$page,to_fill_id:$to_fill_id,start:$start,end:$end,delivery_id:$delivery_id,driver_id:$driver_id,from_fill_id:$from_fill_id){
    list{
      id
      order_sn
      from_fill_name
      to_fill_name
      amount
      money
      price
      createtime
      driver_name
      status
      status_text
    }
    total
    lastpage
}}
`;
// 加注机存量变动明细
export const getFillaccountLog = `
query($page:Int,$fill_id:Int){
  getFillaccountLog(page:$page,fill_id:$fill_id){
    list{
      id
      name
      memo
      amount
      driver_name
      createtime
    }
    total
    lastpage
}}
`;
// 配送站账户明细
export const getMoneyLog = `
query($page:Int,$start:String,$end:String,$delivery_id:Int){
  getMoneyLog(page:$page,start:$start,end:$end,delivery_id:$delivery_id){
    list{
      id
      memo
      money
      driver_name
      createtime
      order_id
    }
    total
    lastpage
}}
`;
// 获取出液机
export const getChuFillList = `
query($delivery_id:Int){
  getChuFillList(delivery_id:$delivery_id){
    id
    name
}}
`;
// 获取补液员
export const getDriverList = `
query($delivery_id:Int){
  getDriverList(delivery_id:$delivery_id){
    id
    name
}}
`;
// 售液记录
export const getFillingList = `
query($page:Int,$start:String,$end:String,$delivery_id:Int,$fill_id:Int){
  getFillingList(page:$page,start:$start,end:$end,delivery_id:$delivery_id,fill_id:$fill_id){
    list{
      id
      order_sn
      fill_name
      amount
      money
      price
      driver_name
      createtime
      status
      status_text
    }
    total
    lastpage
}}
`;